All Questions
6 questions
1vote
1answer
380views
About self validated Java POJOs
I am currently experimenting with self validating Java beans in order to avoid the creation of objects with invalid states, while keeping the validation knowledge inside the bean. The goals I have in ...
2votes
2answers
185views
Search/Query API cross parameter check
Background I was working on a coding challenge as part of an interview process. I had to create a REST API where the user can report sensor data and query derived metrics based on several filter ...
2votes
1answer
427views
Suitable way for Validating JPA Entities in Spring Boot
I have been around in Spring Boot eco-system since 2012, I have worked on many little projects. The most important thing in development I experienced id Validation ...
3votes
0answers
74views
Initialising numerical properties from a text-based properties file
This is a Spring Framework-based datasource instantiator which reads its properties from the Spring Framework context, i.e. the values are initially all String from ...
3votes
2answers
2kviews
Validator for a user registration form
In a user registration form, the validator currently checks not only user input, but also whether or not the user exists. This seems like business logic, which in terms of design should be in the ...
8votes
2answers
6kviews
Spring password validator library
I recently got rejected at a job interview for submitting this: https://bitbucket.org/gnerr/password-validator The interviewer asked for a password validation library that was configurable via ...